import QtQuick 1.1
//import com.nokia.symbian 1.1
import com.nokia.meego 1.0
import "UIConstants.js" as UI

Dialog {
    content: Column {
        id: name
        width: parent.width
        spacing: 8

        Item {
            width: parent.width
            height: icon.height

            Image {
                id: icon
                anchors.horizontalCenter: parent.horizontalCenter
                source: "qrc:/NumismatMobile80.png"
            }
        }
        Text {
            width: parent.width
            font.pixelSize: UI.FONT_LARGE
            font.bold: true
            horizontalAlignment: Text.AlignHCenter
            color: UI.COLOR_INVERTED_FOREGROUND
            text: "NumismatMobile"
        }
        Text {
            width: parent.width
            font.pixelSize: UI.FONT_SLARGE
            horizontalAlignment: Text.AlignHCenter
            color: UI.COLOR_INVERTED_FOREGROUND
            text: "0.3"
        }
        Text {
            width: parent.width
            font.pixelSize: UI.FONT_DEFAULT
            horizontalAlignment: Text.AlignHCenter
            color: UI.COLOR_INVERTED_FOREGROUND
            text: qsTr("Copyright (C) 2012 Vitaly Ignatov")
        }
    }

    buttons: ButtonColumn {
        spacing: 8
        anchors.horizontalCenter: parent.horizontalCenter
        Button {text: qsTr("OK"); onClicked: about.accept()}
        Button {text: qsTr("Home page"); onClicked: Qt.openUrlExternally('http://code.google.com/p/open-numismat-mobile/')}
    }
}
